package com.kuang.operator;
//基本运算符
public class Demo02 {
    public static void main(String[] args) {
    long a=101010958L;
    int b=123;
    short c=10;
    byte d=8;

        System.out.println(a+b+c+d);//long
        System.out.println(b+c+d);//Int
        System.out.println((double)c+d);//double
    }
}
